import {
  get,
  post,
  reqDelete
} from '@/utils/axios'

// 列表
export function listYsDictionaryPage(params) {
  return post('/ysDictionary/listYsDictionaryPage', params)
}

// 新建或编辑
export function saveOrUpdateYsDictionary(params) {
  return post('/ysDictionary/saveOrUpdateYsDictionary', params)
}

// 删除
export function removeYsDictionaryById(params) {
  return reqDelete('/ysDictionary/removeYsDictionaryById', params)
}

// 更新状态
export function updateYsDictionaryStatus(params) {
  return get('/ysDictionary/updateYsDictionaryStatus', params)
}
